package com.hjl.service;

import com.hjl.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hjl.pojo.vo.PortalVo;
import com.hjl.utils.Result;

/**
* @author 86176
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2024-08-21 21:25:42
*/
public interface HeadlineService extends IService<Headline> {

    //分页查询首页头条信息
    Result findNewsPage(PortalVo portalVo);

    /**
     * 查看全文详情
     * @param hid
     * @return
     */
    Result showHeadlineDetail(int hid);



    //回显
    Result publish(Headline headline, String token);

    //修改
    Result updateData(Headline headline);
}
